package com.simple.business.service.user;


import com.github.zuihou.base.R;
import com.github.zuihou.base.service.SuperService;
import com.simple.business.domain.dto.user.BabySaveDTO;
import com.simple.business.domain.entity.user.Baby;
import com.simple.business.domain.vo.BabyVO;

import java.util.List;

/**
 * @desc
 * @Author SimpleTree
 * @Date 2025/3/10 22:07
 **/
public interface BabyService extends SuperService<Baby> {

    /**
     * 查询孩子
     * @return
     */
    R<List<BabyVO>> queryBabies();

    /**
     * 添加孩子
     * @param dto
     * @return
     */
    R<Boolean> saveOrUpdateBaby(BabySaveDTO dto);


    /**
     * 批量删除
     * @param batchDeleteIds
     * @return
     */
    R<Boolean> batchDeleteBabies(List<Long> batchDeleteIds);
}
